package com.ttg.web.dao.Impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ttg.model.mapper.MctNextGradeTempMapper;
import com.ttg.model.pojo.MctNextGradeTemp;
import com.ttg.web.dao.MctNextGradeTempDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class MctNextGradeTempDaoImpl extends ServiceImpl<MctNextGradeTempMapper,MctNextGradeTemp> implements MctNextGradeTempDao {

    @Override
    public void truncateOldRecords() {
        baseMapper.truncateOldRecords();
    }

    @Override
    public void mctRating(Integer date){
        baseMapper.mctRating(date);
    }

}
